package com.ruoyi.bookkeeping.domain.param;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author: 
 * @Date: 2023/02/24/20:11
 * @Description:
 */
@Data
@ApiModel(value = "UpdateBookAssetParam",description = "修改收支传参实体类")
public class UpdateBookAssetParam {

    @ApiModelProperty("收入明细id")
    private Long assetId;

    @ApiModelProperty("收入类型 （0支出，1收入）")
    private String assetType;

    @ApiModelProperty("账单类型 （0支付宝，1微信，2银行卡）")
    private String billingType;

    @ApiModelProperty("分类id")
    private Long sortId;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    @ApiModelProperty("金额")
    private Double amount;

    @ApiModelProperty("备注")
    private String remark;
}
